import request from '@/utils/request';

// 新增公司信息
export function addCompany(data) {
    return request({
        url: '/organization/company/addCompany',
        method: 'post',
        data: data
    })
}

//修改公司信息
export function modifyCompany(data) {
    return request({
        url: '/organization/company/modifyCompany',
        method: 'post',
        data: data
    })
}

// 查询公司信息列表
export function listCompany(data) {
    return request({
        url: '/organization/company/listCompany',
        method: 'get',
        params: data
    })
}

//删除公司
export function delCompany(data) {
    return request({
        url: '/organization/company/delCompany',
        method: 'post',
        data: data
    })
}
